import redis.clients.jedis.Jedis;

/**
 * @Auther: 肖冬
 * @Date: 2020/8/14 23:05
 * @Description: 基本用法
 */
public class BasicTest {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("192.168.1.21", 6379);
        jedis.set("xiaodong","2673");
        System.out.println(jedis.get("xiaodong"));
        jedis.close();
    }
}
